<template>
  <div id="capture">
    <!-- <img alt="Vue logo" src="./assets/logo.png"> -->
    <!-- <HelloWorld msg="Welcome to Your Vue.js App"/> -->

    <div id="nav">
      <router-link to="/"> Home</router-link>
      <router-link to="/about">about </router-link>
    </div>
    <router-view />
  </div>
</template>

<script>
// import HelloWorld from './components/HelloWorld.vue'
import { useRouter } from "vue-router";

export default {
  setup() {
    const router = useRouter();
    const toHome = () => {
      router.push({
        name: "home",
      });
    };
    return {
      toHome,
    };
  },
  name: "App",
  components: {
    // HelloWorld
  },
};
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
